Repository navigation
feat: add opt-in auto-join and auto-leave (0.2.3) - #10
Merged
Merged
Conversation
Add ~/.agent-bridge/config.json with `agent-bridge auto-join on|off|ignore|unignore`, `leave --session`, Claude Code SessionStart/SessionEnd hooks, Antigravity SessionStart hook and loopback liveness probe, opencode session.created/session.deleted handlers, and background daemon liveness sweeps. Bump package.json to 0.3.0 and Claude plugin to 0.2.0.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
~/.agent-bridge/config.json) and CLI (agent-bridge auto-join on|off|ignore|unignore), off by default.leave --session <id>(and session-boundleavewith no args) so exit hooks release bindings cleanly even after renames.SessionStart(claude-session-start) silently joins;SessionEnd(claude-session-end) leaves. Refresh cached plugin onagent-bridge install.SessionStart(agy-session-start) promptsagyto runjoin --kind agyon the first turn; loopback TCPaliveprobe detects exited CLI sessions (persistEndpointstays false).session.createdandsession.deletedviactx.event.subscribe(skipping child sessions and resolving symlinks).persistEndpointfromaliveonAdapter, and add backgroundHub.probePushers()sweeps (3s cooldown, 100ms retry, 45s timer) kicked bystatusandsend --to-kind.0.2.3and Claude plugin to0.2.0.Verification
pnpm build && pnpm check: typecheck clean, 31/31 unit test files (348/348 tests), 9/9 e2e files (100/100 tests).AGENT_BRIDGE_HOMEon Claude Code, Antigravity, and opencode.